SUBROUTINE QUOTE
     * Demonstrate the use of the RWS_QUOTE subroutine.
     * Does not work in Internet Explorer.

     * Include the RealWeb definitions
     INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP

     * Start the HTML page.
     CALL RW_START_HTML_PAGE("Quoted Text Example", "", "", "", "")

     HTML = ""

     * Insert a paragraph containing some text.
     HTML = "Dr Parkes (quoted in an article on "
     TEXT = "Sanitary Science"
     CALL RWS_QUOTE(TEXT, "")
     HTML = HTML : TEXT : " in "
     TEXT = "Chambers Encyclopedia"
     CALL RWS_ITALIC(TEXT, "")
     HTML = HTML : TEXT : " of 1880) "
     HTML = HTML : "reckoned that a ten-stone man consumed 70 to 90 ounces of " : ...
        "water every day - 40 of them in food, 50 in liquid."

     CALL RWS_PARA(HTML, "", "")

     CALL RW_PUT(HTML)

     * Complete the page.
     CALL RW_END_PAGE
RETURN

Go to top button